﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="frmReportePreActaProfesor.aspx.cs" Inherits="UI.DireccionAcademica.frmReportePreActaProfesor" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">

    <script language="javascript" type="text/javascript">
        function Button1_onclick() {

        }


        function AbrirVentana(url) {
            window.open(url, '_blank');
        }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<asp:UpdatePanel ID="panel1" runat="server">
    <Triggers>               
        <asp:AsyncPostBackTrigger ControlID="grvAsignaturas" />
    </Triggers>
    <ContentTemplate>
    <table class="BTabla" style="width: 68%">
        <tr>
            <td class="style3" colspan="7">
                <h2>
                    <%--ASIGNATURAS--%>
                    <asp:Label ID="lblNombreProfesor" runat="server" Text=""></asp:Label></h2>
            </td>
        </tr>
        <tr>
            <td class="filaTabla" colspan="7">
                Busqueda de asignatura
            </td>
        </tr>
        <tr>
            <td class="style8">
            </td>

            <td class="style9" align="left">
                semestre :
            </td>
            <td class="style14">
               <%-- <asp:TextBox ID="txtCodigo" runat="server" Width="113px"></asp:TextBox>--%>
               <asp:DropDownList ID="ddlSemestre" runat="server" Width="100px" 
                    AutoPostBack="True" onselectedindexchanged="ddlSemestre_SelectedIndexChanged">
                   <asp:ListItem Value="2014-II">2014-II</asp:ListItem>
           </asp:DropDownList>            
            </td>

            <td class="style12">               
            </td>
            <td class="style12">                              
            </td>

            <td class="style16">
            Asignaturas Actuales:
            </td>
            <td class="style15">              
               <asp:Button ID="btnVer" runat="server" Height="34px" Text="Ver" Width="88px" 
                    onclick="btnVer_Click"/>
                <asp:ImageButton ID="btnAtras" runat="server" 
                    ImageUrl="~/Imagenes/Botones/regresar.png" onclick="btnAtras_Click" />
                                      
            </td>


            <td>
                &nbsp;
            </td>
        </tr>
        <caption>
            <br />
            <br />
            <tr>
                <td class="style8">
                </td>
                <td align="left" class="style9" colspan="7">
                    <asp:GridView ID="grvAsignaturas" runat="server" AllowPaging="True" 
                        AllowSorting="True" AutoGenerateColumns="False" CaptionAlign="Top" 
                        PageSize="20" Width="600px" 
                        onselectedindexchanged="grvAsignaturas_SelectedIndexChanged" 
                        onpageindexchanging="grvAsignaturas_PageIndexChanging">
                        <Columns>
                            <asp:BoundField DataField="Docente" HeaderText="Docente" Visible="False" />
                            <asp:BoundField DataField="Especialidad" HeaderText="Especialidad" />
                            <asp:BoundField DataField="idCurso" HeaderText="idCurso" />
                            <asp:BoundField DataField="Curso" HeaderText="Curso" />
                            <%--<asp:BoundField DataField="short" HeaderText="short" />--%>
                            <%--<asp:BoundField DataField="semestre" HeaderText="semestre" />--%>
                            <asp:CommandField ShowSelectButton="True" SelectText="Reporte" />
                            <%--<asp:ButtonField Text="Reporte" />--%>
                        </Columns>
                    </asp:GridView>
                </td>
            </tr>
        </caption>
    </table>
    <br />
    <br />
     <asp:Label ID="LabelResultados" runat="server" ForeColor="Red" Style="font-family: Arial"></asp:Label>     
     <br />
    <table class="BTabla" style="width: 68%">
       <%-- <tr>
            <td>
                Notas Actuales
            </td>
            <td>
                Promedios Actuales
            </td>
        </tr>
        <tr>
            <td>
                
            </td>
             <td>
          
            </td>
        </tr>
        <tr>
             <td colspan="2">
                Notas según la nueva Curricula 
            </td>           
        </tr>
         <tr>
             <td colspan="2">
               
            </td>           
        </tr>--%>
    </table>
    <br />

    <br />
    <br />
    <br />

    </ContentTemplate>
    </asp:UpdatePanel>

    
   
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="panel1" DisplayAfter="0">
    <ProgressTemplate>
        <div style="background-color: Gray; filter:alpha(opacity=60); opacity:0.60; width: 100%; top: 0px; left: 0px; position: fixed; height: 100%;">
        </div>
          <div style="margin:auto;
              font-family:Trebuchet MS;
              filter: alpha(opacity=100);
              opacity: 1;
              font-size:small;
              vertical-align: middle;
              top: 45%;
              position: fixed;
              right: 45%;
              color: #275721;
              text-align: center;
              background-color: White;
              height: 100px; bottom: 296px;">
                <table style=" background-color: White; font-family: Sans-Serif; text-align: center; border: solid 1px #275721; color: #275721; width: inherit; height: inherit; padding: 15px;">
                <tr>
                <td style=" text-align: inherit;"><img src="../Imagenes/Gif/cargando.gif" alt="Loading"  /></td>
                <td style=" text-align: inherit;"><span style="font-family: Sans-Serif; font-size: medium; font-weight: bold; font">Cargando...</span></td>
                </tr>
                </table>
        </div>
    </ProgressTemplate>
    </asp:UpdateProgress>
</asp:Content>
